package me.zhengjie.req;

import lombok.Getter;
import lombok.Setter;

/**
 * @Author xc_wang@probe-group.com
 * @Date 2021/12/14
 * @Description 向全节点发送JSON RPC参数格式对象
 */
@Getter
@Setter
public class ParamReq {

    private Integer id = 0;
    private String jsonrpc = "2.0";
    private String method;
    private Object[] params;

    public ParamReq(){}

    public ParamReq(String method,Object[] params){
        this.method = method;
        this.params = params;
    }
}
